package system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import common.model.po.MySqlSlowLog;
import common.model.request.base.PaginationRequest;
import system.model.request.SearchSlowLogRequest;

/**
 * 用户服务类
 *
 * @author 米泽鹏
 * @since 2022-03-11
 */
public interface MysqlSlowSqlService extends IService<MySqlSlowLog> {

	/**
	 * 慢查询日志分页查询
	 *
	 * @param paginationRequest PaginationRequest<SearchSlowLogRequest, MySqlSlowLog>
	 * @return Page<MySqlSlowLog>
	 */
	Page<MySqlSlowLog> pageSlowLog(PaginationRequest<SearchSlowLogRequest, MySqlSlowLog> paginationRequest);

}
